<#assign className = table.className>
<#assign classNameFirstLower = className?uncap_first>   
<#assign classNameLowerCase = className?lower_case>   
package ${basepackage}.controller.${namespace};

import ${basepackage}.service.${namespace}.${className}Service;

import org.springframework.beans.factory.annotation.Autowired;

<#include "/java_copyright.include">
@Controller
@RequestMapping("/${classNameLowerCase}")
public class ${className}Controller {

	@Autowired
	private ${className}Service ${classNameFirstLower}Service;

	/** 列表 */
	@RequestMapping
	public String index() {
		return "";
	}
	
	/** 显示 */
	@RequestMapping(value="/list")
	public String list() {
		return "";
	}

	/** 进入新增 */
	@RequestMapping(value="/toSave")
	public String toSave() {
		return "";
	}
	
	/** 保存新增 */
	@RequestMapping(valie="/save")
	public String save() {
		return "";
	}

	/** 删除 */
	@RequestMapping(value="/del")
	public String del() {
		return "";
	}

}

